package com.ruoyi.eqmonitor.service.impl;

import com.ruoyi.eqmonitor.service.LcyApiService;
import com.ruoyi.eqmonitor.utils.LechangeHttpSend;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class LcyApiServiceImpl implements LcyApiService {

    //获取accessToken
    @Override
//    @Cacheable(LechangeHttpSend.LECHANGE_ACCESS_TOKEN)
    public String getAccessToken() {
        return LechangeHttpSend.getAccessToken();
    }

}
